<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Calico: AprilTags::Segment Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Calico
   </div>
   <div id="projectbrief">A visual-inertial calibration library designed for rapid problem construction and debugging.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAprilTags.html">AprilTags</a></li><li class="navelem"><a class="el" href="classAprilTags_1_1Segment.html">Segment</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classAprilTags_1_1Segment-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">AprilTags::Segment Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents a line fit to a set of pixels whose gradients are similiar.  
 <a href="classAprilTags_1_1Segment.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Segment_8h_source.html">Segment.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3ee10ae7f992370bbc3f1c3a373cb9da"><td class="memItemLeft" align="right" valign="top"><a id="a3ee10ae7f992370bbc3f1c3a373cb9da"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getX0</b> () const</td></tr>
<tr class="separator:a3ee10ae7f992370bbc3f1c3a373cb9da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b81ba46a9d9f9c2c23777711e5d587"><td class="memItemLeft" align="right" valign="top"><a id="a65b81ba46a9d9f9c2c23777711e5d587"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setX0</b> (float newValue)</td></tr>
<tr class="separator:a65b81ba46a9d9f9c2c23777711e5d587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25d0a221b7198fed10b4fe42db2699f4"><td class="memItemLeft" align="right" valign="top"><a id="a25d0a221b7198fed10b4fe42db2699f4"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getY0</b> () const</td></tr>
<tr class="separator:a25d0a221b7198fed10b4fe42db2699f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd34375de75a4a74dd13b2afa5c53a3c"><td class="memItemLeft" align="right" valign="top"><a id="afd34375de75a4a74dd13b2afa5c53a3c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setY0</b> (float newValue)</td></tr>
<tr class="separator:afd34375de75a4a74dd13b2afa5c53a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6202e0064d32b8e9369b074a19347cae"><td class="memItemLeft" align="right" valign="top"><a id="a6202e0064d32b8e9369b074a19347cae"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getX1</b> () const</td></tr>
<tr class="separator:a6202e0064d32b8e9369b074a19347cae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a299cf8d022f900a487deedf8bfe3a86d"><td class="memItemLeft" align="right" valign="top"><a id="a299cf8d022f900a487deedf8bfe3a86d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setX1</b> (float newValue)</td></tr>
<tr class="separator:a299cf8d022f900a487deedf8bfe3a86d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae36c68c01bbc4dca64c0dce10c0aec52"><td class="memItemLeft" align="right" valign="top"><a id="ae36c68c01bbc4dca64c0dce10c0aec52"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getY1</b> () const</td></tr>
<tr class="separator:ae36c68c01bbc4dca64c0dce10c0aec52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a295ce3eb26c09bc74408d4777459490c"><td class="memItemLeft" align="right" valign="top"><a id="a295ce3eb26c09bc74408d4777459490c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setY1</b> (float newValue)</td></tr>
<tr class="separator:a295ce3eb26c09bc74408d4777459490c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d601f9d6f4aca93cefd2034e3b21e91"><td class="memItemLeft" align="right" valign="top"><a id="a1d601f9d6f4aca93cefd2034e3b21e91"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getTheta</b> () const</td></tr>
<tr class="separator:a1d601f9d6f4aca93cefd2034e3b21e91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f799ec95ae612855d188b3b8c02499"><td class="memItemLeft" align="right" valign="top"><a id="a63f799ec95ae612855d188b3b8c02499"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTheta</b> (float newValue)</td></tr>
<tr class="separator:a63f799ec95ae612855d188b3b8c02499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff9af9d1761cc2f008e73e78a84f6ecc"><td class="memItemLeft" align="right" valign="top"><a id="aff9af9d1761cc2f008e73e78a84f6ecc"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getLength</b> () const</td></tr>
<tr class="separator:aff9af9d1761cc2f008e73e78a84f6ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa89141ccf9fba7c63acf708b3cb2bfb2"><td class="memItemLeft" align="right" valign="top"><a id="aa89141ccf9fba7c63acf708b3cb2bfb2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setLength</b> (float newValue)</td></tr>
<tr class="separator:aa89141ccf9fba7c63acf708b3cb2bfb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a310ad93816357ce47c9cff24522006ee"><td class="memItemLeft" align="right" valign="top"><a id="a310ad93816357ce47c9cff24522006ee"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1Segment.html#a310ad93816357ce47c9cff24522006ee">segmentLength</a> ()</td></tr>
<tr class="memdesc:a310ad93816357ce47c9cff24522006ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the <a class="el" href="classAprilTags_1_1Segment.html" title="Represents a line fit to a set of pixels whose gradients are similiar.">Segment</a>. <br /></td></tr>
<tr class="separator:a310ad93816357ce47c9cff24522006ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81a4b7cc054528fd687254f670a905a0"><td class="memItemLeft" align="right" valign="top"><a id="a81a4b7cc054528fd687254f670a905a0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1Segment.html#a81a4b7cc054528fd687254f670a905a0">printSegment</a> ()</td></tr>
<tr class="memdesc:a81a4b7cc054528fd687254f670a905a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print endpoint coordinates of this segment. <br /></td></tr>
<tr class="separator:a81a4b7cc054528fd687254f670a905a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fcd8b4995a31c29f450b4cdd22c9868"><td class="memItemLeft" align="right" valign="top"><a id="a2fcd8b4995a31c29f450b4cdd22c9868"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1Segment.html#a2fcd8b4995a31c29f450b4cdd22c9868">getId</a> () const</td></tr>
<tr class="memdesc:a2fcd8b4995a31c29f450b4cdd22c9868"><td class="mdescLeft">&#160;</td><td class="mdescRight">ID of <a class="el" href="classAprilTags_1_1Segment.html" title="Represents a line fit to a set of pixels whose gradients are similiar.">Segment</a>. <br /></td></tr>
<tr class="separator:a2fcd8b4995a31c29f450b4cdd22c9868"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3f8b46b502b2f6e410ab78dfa0c71a78"><td class="memItemLeft" align="right" valign="top"><a id="a3f8b46b502b2f6e410ab78dfa0c71a78"></a>
std::vector&lt; <a class="el" href="classAprilTags_1_1Segment.html">Segment</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>children</b></td></tr>
<tr class="separator:a3f8b46b502b2f6e410ab78dfa0c71a78"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a10db46ff3cfd25f5d73e7451bd71476b"><td class="memItemLeft" align="right" valign="top"><a id="a10db46ff3cfd25f5d73e7451bd71476b"></a>
static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1Segment.html#a10db46ff3cfd25f5d73e7451bd71476b">minimumSegmentSize</a> = 4</td></tr>
<tr class="memdesc:a10db46ff3cfd25f5d73e7451bd71476b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum number of pixels in a segment before we'll fit a line to it. <br /></td></tr>
<tr class="separator:a10db46ff3cfd25f5d73e7451bd71476b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7d7d2a1e6e4d6da6fac67e812492356"><td class="memItemLeft" align="right" valign="top"><a id="ad7d7d2a1e6e4d6da6fac67e812492356"></a>
static float const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1Segment.html#ad7d7d2a1e6e4d6da6fac67e812492356">minimumLineLength</a> = 4</td></tr>
<tr class="memdesc:ad7d7d2a1e6e4d6da6fac67e812492356"><td class="mdescLeft">&#160;</td><td class="mdescRight">In pixels. Calculated based on minimum plausible decoding size for Tag9 family. <br /></td></tr>
<tr class="separator:ad7d7d2a1e6e4d6da6fac67e812492356"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a line fit to a set of pixels whose gradients are similiar. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>calico/third_party/apriltags/apriltags/<a class="el" href="Segment_8h_source.html">Segment.h</a></li>
<li>calico/third_party/apriltags/src/Segment.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
